projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c30ea
)
(A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Defined.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 26 Dec 1993 09:10:10 +0000
(09:10 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 26 Dec 1993 09:10:10 +0000
(09:10 +0000)
src/s/gnu-linux.h
patch
|
blob
|
history
diff --git
a/src/s/gnu-linux.h
b/src/s/gnu-linux.h
index b27b4f025f6969c09e96c53f40dba22db1cb0017..3b06c712fc0691669e541ae87b723816ca1cd54b 100644
(file)
--- a/
src/s/gnu-linux.h
+++ b/
src/s/gnu-linux.h
@@
-226,3
+226,8
@@
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#define HAVE_SYSVIPC
+
+#define A_TEXT_OFFSET(hdr) (N_MAGIC(hdr) == QMAGIC ? sizeof (struct exec) : 0)
+#define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
+#define ADJUST_EXEC_HEADER \
+ unexec_text_start = N_TXTADDR(ohdr) + A_TEXT_OFFSET(ohdr)